<?php
include("../connect.php");

$ten_dn = $_GET['ten_dn'];
$pass = $_GET['pass'];

$sql="select * from thanh_vien where TEN_DN='".$ten_dn."' and MAT_KHAU='".$pass."'";
$rs=mysql_query($sql);

if(mysql_num_rows($rs) > 0){
	echo "OK";
}
else{
	echo "Mật khẩu không đúng!";
}
?>